package com.bsoft.gol.hcb.service.feedback.service;

import com.github.pagehelper.PageInfo;
import ctd.controller.exception.ControllerException;
import hcn.bean.feedback.qo.FeedbackListReq;
import com.bsoft.gol.hcb.service.feedback.bean.request.AddFeedbackReq;
import com.bsoft.gol.hcb.service.feedback.entity.BaseFeedback;

import java.util.Map;

public interface IFeedbackService {

    /*新增投诉建议（问题反馈）*/
    BaseFeedback addFeedback(AddFeedbackReq addFeedbackReq) throws Exception;

    /*回复处理投诉建议*/
    BaseFeedback replyFeedback(AddFeedbackReq replyFeedbackReq) throws Exception;

    /*查询投诉建议列表*/
    PageInfo queryFeedbackList(FeedbackListReq feedbackListReq) throws ControllerException;

    /*查询投诉建议数量*/
    Map<String,Object> queryFeedbackCount(FeedbackListReq feedbackListReq) throws ControllerException;

    /*查询单条投诉建议详情*/
    BaseFeedback queryFeedbackDetail(BaseFeedback feedbackReq);
}
